/* 车辆预约页面样式 */
body {
    margin: 0;
    padding: 0;
    font-family: "微软雅黑", sans-serif;
    background-color: #f5f7fa;
}

.head-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 用户认证相关样式 */
.user-section .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-section .username {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.user-section .login-btn, 
.user-section .register-btn, 
.user-section .logout-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.user-section .login-btn {
    background-color: #f0f0f0;
    color: #333;
}

.user-section .login-btn:hover {
    background-color: #e0e0e0;
}

.user-section .register-btn {
    background-color: #007bff;
    color: white;
}

.user-section .register-btn:hover {
    background-color: #0056b3;
}

.user-section .logout-btn {
    background-color: #dc3545;
    color: white;
}

.user-section .logout-btn:hover {
    background-color: #c82333;
}

.logo-section {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 60px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #0066cc;
    margin-left: 15px;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #f0f2f5;
}

.user-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.page-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 20px 30px;
    padding: 10px 20px;
    background-color: #e6f2ff;
    border-left: 4px solid #0066cc;
    display: inline-block;
}

.reservation-container {
    display: flex;
    margin: 0 30px;
    gap: 30px;
}

.car-details {
    flex: 1;
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.car-gallery {
    width: 100%;
    height: 250px;
    background-color: #f0f2f5;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 20px;
}

.car-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.car-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
}

.spec-label {
    color: #666;
    width: 100px;
}

.spec-value {
    color: #333;
    flex: 1;
}

.price-info {
    background-color: #fff8e6;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
}

.price-label {
    color: #666;
    font-size: 14px;
}

.price-value {
    color: #ff6600;
    font-size: 22px;
    font-weight: bold;
    margin: 5px 0;
}

.price-desc {
    font-size: 13px;
    color: #666;
}

.reservation-form {
    width: 380px;
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.form-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

.form-input {
    box-sizing: border-box;
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-input:focus {
    border-color: #0066cc;
    outline: none;
}

.date-group {
    display: flex;
    gap: 10px;
}

.date-group .form-input {
    flex: 1;
}

.total-info {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f7fa;
    border-radius: 6px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.total-label {
    color: #666;
}

.total-value {
    color: #333;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e5e5;
    font-weight: bold;
    color: #ff6600;
    font-size: 16px;
}

.action-btn {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn {
    background-color: #0066cc;
    color: #fff;
    margin-bottom: 10px;
}

.submit-btn:hover {
    background-color: #0052a3;
}

.back-btn {
    background-color: #f5f5f5;
    color: #333;
}

.back-btn:hover {
    background-color: #e5e5e5;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 13px;
    margin-top: 30px;
}